<template>
	<view class="">
		<web-view id="web-view-1" :src="src"></web-view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			title: '',
			src: '',
		};
	},
	
	onLoad(option) {
		this.src = decodeURIComponent(option.src)
		this.title = option.title || ''
		uni.setNavigationBarTitle({
		    title: this.title
		});
	},
};
</script>

<style lang="less" scoped>
#Wrap {
	position: absolute;
	background-color: #f5f5f5;
	min-height: 100%;
	width: 750rpx;
}
</style>
